package org.truenewx.tnxjee.repo.jpa.converter;

import jakarta.persistence.Converter;

import org.truenewx.tnxjee.core.util.DateUtil;

/**
 * Instant格式化到秒的字符串转换器，数据类型应为char(19)
 */
@Converter
public class InstantSecondStringAttributeConverter extends InstantStringAttributeConverter {

    public InstantSecondStringAttributeConverter() {
        super(DateUtil.LONG_DATE_PATTERN);
    }

}
